package com.irdstudio.efp.esb.api.bean.sx;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.basic.framework.core.util.StringUtil;

/**
 * 授信的返回对象
  * @author heyingfeng
  * @since 2019年3月9日 下午4:49:58
  * @version 1.0
 */
public class RespCreditBean {
	// TODO 根据JSON格式报文中修改
	@JSONField(name = "RetCd")
	private String retCd;// 返回状态码
	@JSONField(name = "RetMsg")
	private String retMsg;// 返回信息
	
	
	/**
	 * @return the retCd
	 */
	public String getRetCd() {
		return retCd;
	}


	/**
	 * @param retCd the retCd to set
	 */
	public void setRetCd(String retCd) {
		this.retCd = retCd;
	}


	/**
	 * @return the retMsg
	 */
	public String getRetMsg() {
		return retMsg;
	}


	/**
	 * @param retMsg the retMsg to set
	 */
	public void setRetMsg(String retMsg) {
		this.retMsg = retMsg;
	}


	/**
	 * @description:覆盖toString方法
	 * @return
	 * @date:2018年12月20日 上午9:44:22
	 * @author:wangyk3
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("{");
		sb.append("'RetCd':'" + StringUtil.replaceNullByObj(this.getRetCd()) + "',");
		sb.append("'RetMsg':'" + StringUtil.replaceNullByObj(this.getRetMsg()) + "',");
		sb.append("}");
		return sb.toString().replace("'", "\"");
	}

}
